Release 10.1A: OpenEdge Deployment:
Managing 4GL Applications
R-code execution environment statistics
You can monitor execution environment activity using the Statistics (
-y) and Segment Statistics (-yd) startup parameters. These parameters cause OpenEdge to write memory statistics to theclient.monfile. The-ydparameter provides all of the information about memory usage available with-yplus additional information about r-code segments loaded during a client session. For more information about the-ydand-ystartup parameters, see OpenEdge Deployment: Startup Command and Parameter Reference .For information about monitoring and optimizing r-code performance, see Chapter 5, " Managing Client Performance."
Figure B–4 through Figure B–8 show sections of
client.monoutput generated with the-ydstartup parameter.In Figure B–4, the “Progress 4GL client startup options” section shows the r-code directory size (
-D), in this case, set to the default of 100 entries. The-ystartup parameter also generates this information.Figure B–4: Progress 4GL client startup options for –yd
![]()
In Figure B–5, the “Execution buffer map” section shows the order and size of procedures loaded into the execution buffer.
Figure B–5: Execution buffer map for –yd
![]()
In Figure B–6, the “Per procedure temp file access statistics” section lists each r-code segment that has been read or written to the session sort file (
.srt). Each segment is listed under its r-code file by segment type (“Int-Proc Action”), number (5), and size (1364 bytes).Figure B–6: Accessing the session sort file for –yd
![]()
In this example, all segments shown have been read and written once. A large number of segments read or written a large number of times indicates a likely need for more memory.
In Figure B–7, the “Per procedure segment information” section lists all the r-code segments loaded during the session. Each segment is listed under its r-code file by segment type (“Int-Proc”), number (2), and size (816 bytes).
Figure B–7: Procedure segment information for –yd (Part 1)
![]()
Thus, if there are three internal procedure action segments in
appedit/_proedit.r, they are listed in order (Int-Proc: 1 through 3). Likewise, multiple main action code segments are listed in order (A-Code: 1 and 2). The number of segments for each entry is always 1. Note that the “Initial” segment has no segment number, because there is never more than one of this segment type per r-code file.In Figure B–8, the listed sections provide memory and segment usage summaries. The
-ystartup parameter also generates this information.
Figure B–8: Procedure segment information for –yd (Part 2)
The “R-code Execution Buffer” statistics show how far your application pushes the execution buffer ceiling. The “Segment Descriptors Usage” statistics shows how close your application is to running out of segment descriptors, and thus, whether you need to optimize the number of r-code segments in your application.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |